package utils

import (
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestGenerateAuthorId(t *testing.T) {
	var testType int64 = 10000000
	id := GenerateAuthorId()
	assert.GreaterOrEqual(t, id, testType)
	assert.IsType(t, testType, id)
}
